package com.cq.hd.member.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class BusinessPointsMallCouponDto implements Serializable {

    @ApiModelProperty(value = "自增id")
    private Long id;

    @ApiModelProperty(value = "商家id")
    private Long businessId;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "满x元可用，0表示无门槛")
    private BigDecimal fullAmount;

    @ApiModelProperty(value = "上架数量")
    private Integer totalNum;

    @ApiModelProperty(value = "使用期限，x天")
    private Integer dayLimit;

    @ApiModelProperty(value = "兑换需x积分")
    private BigDecimal requiredPoints;

    @ApiModelProperty(value = "生效时间")
    private LocalDateTime effectiveTime;
}
